package cn.cs.mapper;

import cn.cs.pojo.ClientRepRel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ClientRepRelMapper {

	public ClientRepRel getClientRepRelById(@Param(value = "id") Long id)throws Exception;

	public List<ClientRepRel>	getClientRepRelListByMap(Map<String, Object> param)throws Exception;

	public Integer getClientRepRelCountByMap(Map<String, Object> param)throws Exception;

	public Integer insertClientRepRel(ClientRepRel clientRepRel)throws Exception;

	public Integer updateClientRepRel(ClientRepRel clientRepRel)throws Exception;

	public Integer deleteClientRepRelById(@Param(value = "id") Long id)throws Exception;

}
